package study.alibaba.sentinel.support.rule;

import com.alibaba.csp.sentinel.init.InitFunc;
import com.alibaba.csp.sentinel.slots.block.flow.FlowRule;
import com.alibaba.csp.sentinel.slots.system.SystemRule;
import com.google.common.collect.Lists;
import study.eggs.utils.JsonUtils;

import java.util.List;

public class SystemRuleInitFunc implements InitFunc {

    @Override
    public void init() throws Exception {
        List<SystemRule> ruleLt = Lists.newArrayList();

        SystemRule rule = new SystemRule();
    }

    public static void main(String[] args) {
        SystemRule rule = new SystemRule();
        System.out.println(JsonUtils.toJson(rule));
    }
}
